package org.ellwood.core.common.entity.page;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @ProjectName: ellwood-boot-pro
 * @PackageName: org.ellwood.core.common.entity
 * @ClassName: PageQuery
 * @Description: // 分页查询基础类
 * @Author: Ellwood
 * @CreateDate: 2024/6/13 - 下午3:15
 * @Version: V1.0.0
 */
@Data
public class PageQuery {

    {
        page=1;
        limit=10;
    }

    @Schema(description = "页数",example = "1")
    private Integer page;

    @Schema(description = "每页条数",example = "10")
    private Integer limit;

}
